package main

import (
	"gitee.com/aviptle/goclean/ddd1125/blog/http"
	"gitee.com/aviptle/goclean/ddd1125/blog/impl"
	"gitee.com/aviptle/goclean/ddd1125/tag/mock"
	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.Default()

	blogHandler := http.NewHandler(impl.NewImpl(mock.NewMock()))
	blogHandler.Registry(r)
	r.Run("localhost:8080")
}
